package cn.edu.zut.dao;

import cn.edu.zut.model.BookType;
import org.mybatis.spring.annotation.MapperScan;


import java.util.List;

@MapperScan
public interface BookTypeDao {

    int insertBookType(BookType bookType);//插入一种图书类型
    int deleteBookType(BookType bookType);//删除一种图书类型
    int updateBookType(BookType bookType);//修改图书的类型
    List<BookType> select_All_BookType();//查找所有图书类型
    int selectIdByTypeName(String typename);//通过图书种类名称返回图书类型id

}
